package de.homelabs.jaxbsandbox.domain;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement
public class PageList {

	@XmlElement(required = true, name="page")
	private List<PageElement> pages = new ArrayList<PageElement>();

	public List<PageElement> getPages() {
		return pages;
	}

	public void setPages(List<PageElement> pageList) {
		this.pages = pageList;
	}
}
